@charset "utf-8";
body {
    background-color: #e6e6e6;
    padding-top: .96rem;
    padding-bottom: .9rem;
}

a {
    text-decoration: none;
}


/* 头部搜索部分 */

.topbar {
    position: fixed;
    padding: .2rem .3rem .11rem;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(../img/topbarbg.png)no-repeat;
    background-size: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.topbar-left .iconfont {
    font-size: .36rem;
    color: #fff;
}

.topbar-left span {
    font-size: .18rem;
    white-space: nowrap;
    color: #fff;
}


/* 搜素框分 */

.search {
    width: 4.72rem;
    height: .66rem;
    margin-left: .28rem;
    padding: .16rem .2rem;
    box-sizing: border-box;
    display: flex;
    flex-shrink: 1;
    align-items: center;
    border-radius: .33rem;
    background-color: #fff;
}

.search .iconfont {
    width: .34rem;
    height: .34rem;
    font-size: .34rem;
    color: #7f7f7f;
}

.search input {
    border: none;
    outline: none;
    padding-left: .05rem;
    font-size: .26rem;
    background-color: transparent;
}


/* 红包 */

.topbar a>img {
    padding-left: .18rem;
    box-sizing: border-box;
    display: block;
    /* width: .6rem; */
    height: .6rem;
}


/* 消息 */

.topbar-right {
    padding-left: .24rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #fff;
}

.topbar-right .iconfont {
    width: 0.37rem;
    height: 0.37rem;
    font-size: .37rem;
}

.topbar-right span {
    font-size: .18rem;
}


/* 头部 */

.header {
    padding: .16rem .2rem 0;
    background: url(../img/headerbg2.png)no-repeat 100% 0;
    background-size: 100%;
    overflow: hidden;
}


/* 推荐部分 */

.header-menu {
    padding-bottom: .34rem;
    display: flex;
    line-height: .3rem;
    font-size: .24rem;
    color: #fff;
}

.header-menu span {
    margin: 0 0.06rem;
    white-space: nowrap;
    color: #fff;
}

.header-menu .bg {
    padding: 0 .18rem;
    border-radius: .16rem;
    background-color: #fa5c5c;
}


/* 轮播 */

.header-banner {
    position: relative;
    display: flex;
    z-index: 2;
}

.header-banner .banner {
    display: flex;
    padding: 0 .1rem;
    box-sizing: border-box;
}

.header-banner .banner img {
    width: 6.9rem;
    height: 1.82rem;
    border-radius: .2rem;
    display: block;
}

.dots {
    position: absolute;
    bottom: .12rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.dot {
    margin: 0 .07rem;
    width: .1rem;
    height: .1rem;
    border-radius: 50%;
    opacity: .4;
    background-color: #fff;
}

.active {
    background-color: #ff4a68;
    opacity: 1;
}


/* 应用部分 */

.use {
    margin-top: -0.62rem;
    /* margin-left: .2rem;
    margin-right: .2rem; */
    padding: .82rem .2rem .36rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
    background-color: #fff;
}

.use-top,
.use-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.use-top a,
.use-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.use-top img,
.use-bottom img {
    display: block;
    width: 0.88rem;
    height: 0.88rem;
}

.use-top span,
.use-bottom span {
    padding-top: .12rem;
    font-size: .24rem;
    color: rgb(51, 51, 51);
}

.use-bottom {
    margin-top: .22rem;
}

.use .dots {
    position: absolute;
    bottom: .14rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.use .dot {
    width: .3rem;
    height: .08rem;
    border-radius: .15rem;
    background-color: #c5c5c5;
    opacity: 1;
}

.use .active {
    background-color: #f23a3a;
    opacity: 1;
}


/* 主要内容 */

.main {
    padding: 0 .2rem;
    box-sizing: border-box;
}


/* 热门 */

.hot {
    height: .56rem;
}

.hot-text {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: .01rem solid #e6e6e6;
    background-color: #fff;
    /* line-height: .56rem; */
}

.hot-text .headline {
    padding-left: .14rem;
    font-size: .3rem;
    font-weight: 700;
    font-style: italic;
    color: #333;
    box-sizing: border-box;
}

.hot-text .red {
    color: rgb(242, 58, 58);
}

.hot-text .bg {
    /* margin-left: .08rem; */
    padding: 0 .1rem;
    width: .6rem;
    height: .24rem;
    box-sizing: border-box;
    line-height: .24rem;
    font-size: .2rem;
    color: #fff;
    border-radius: .15rem;
    background-color: #fa5c5c;
}

.hot-text p {
    width: 4.12rem;
    font-size: .22rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #7e7e7e;
}

.hot-text .vertical {
    color: #7e7e7e;
    font-size: .18rem;
}

.hot-text .more {
    padding-right: .2rem;
    font-size: .22rem;
    color: #333;
    box-sizing: border-box;
}


/* 周边部分 */

.circum {
    margin-top: .2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}


/* 标题部分 */

.circum-title {
    display: flex;
    align-items: center;
    font-size: .22rem;
    color: #333;
}

.circum-title .head {
    padding-left: .16rem;
    box-sizing: border-box;
    font-size: .3rem;
    color: #333;
    font-weight: 700;
}

.circum-title .black {
    width: 0.24rem;
    height: 0.24rem;
    line-height: .24rem;
    text-align: center;
    font-size: .2rem;
    color: #fffefe;
    background-color: #333;
}

.circum-title .default {
    padding-left: .08rem;
    box-sizing: border-box;
    font-size: .22rem;
    color: #7e7e7e;
}

.circum>a:nth-child(2) {
    padding-right: .2rem;
    box-sizing: border-box;
    font-size: .24rem;
    color: #7e7e7e;
}


/* 商品部分 */

.goods {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.01rem solid #e6e6e6;
    background-color: #fff;
}


/* 商品左边部分和中间部分 */

.goods-left,
.goods-center {
    padding-bottom: .14rem;
    width: 2rem;
    /* height: 2.6rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 0.01rem solid #e6e6e6;
    /* justify-content: center; */
}

.goods-left .title,
.goods-center .title {
    width: 100%;
    padding-top: .24rem;
    display: flex;
    align-items: center;
    font-size: .28rem;
    font-weight: 700;
    color: #333;
}

.goods-left .title span,
.goods-center .title span {
    /* width: 1.1rem; */
    padding-left: .1rem;
    box-sizing: border-box;
    white-space: nowrap;
    /* flex-shrink：0; */
}

.goods-left .title img,
.goods-center .title img {
    padding-left: .1rem;
    /* flex-shrink：0; */
    min-width: .26rem;
    height: .26rem;
    display: block;
    box-sizing: border-box;
}

.goods-left>span,
.goods-center>span {
    padding-top: .12rem;
    font-size: .22rem;
    color: #333;
}

.goods-left>img {
    padding-top: .1rem;
    width: .84rem;
    height: 1.14rem;
}

.goods-center>img {
    padding-top: .1rem;
    width: .62rem;
    min-height: 1.04rem;
}

.goods-left .btn,
.goods-center .btn {
    margin-top: .16rem;
    padding: .03rem .06rem;
    line-height: .16rem;
    box-sizing: border-box;
    /* width: 0.9rem; */
    color: #fff;
    height: .24rem;
    border-radius: .12rem;
    font-size: .2rem;
    background-color: #f23a3a;
}


/* 商品右边部分 */

.goods-right {
    padding-bottom: .14rem;
    display: flex;
    flex-direction: column;
}

.goods-bottom {
    border-top: 0.01rem solid #e6e6e6;
}

.goods-top,
.goods-bottom {
    width: 3.08rem;
    height: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-top .img,
.goods-bottom .img {
    padding-right: .2rem;
    box-sizing: border-box;
    width: 1.16rem;
    height: .84rem;
}

.goods-top .img>img {
    display: block;
    width: 1.16rem;
    height: .84rem;
}

.goods-bottom .img>img {
    display: block;
    width: .88rem;
    height: .95rem;
}

.goods-text {
    flex-grow: .8;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    /* justify-content: center; */
}

.goods-text strong {
    padding-top: .24rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    font-size: .28rem;
    color: #333;
}

.goods-text>span {
    text-align: center;
    font-size: .22rem;
    color: #333;
}

.goods-text img {
    margin: 0 .06rem;
    display: block;
    width: .26rem;
    height: .26rem;
}

.goods-text .btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: .08rem;
    padding: .03rem .06rem;
    height: .24rem;
    line-height: .16rem;
    border-radius: .12rem;
    font-size: .2rem;
    color: #fff;
    text-align: center;
    background-color: #f23a3a;
}


/* 优惠部分 */

.boom {
    /* padding: 0 .2rem; */
    background-color: #fff;
}

.boom h3 {
    margin: 0;
    border-bottom: .01rem solid #e6e6e6;
    padding: .15rem 0 .15rem .22rem;
    font-weight: 700;
    font-size: .26rem;
    color: #333;
}


/* 福利 */

.discounts {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discounts a {
    border-right: .01rem solid #e6e6e6;
    padding-bottom: .16rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-grow: 1;
}

.discounts a:nth-child(4) {
    border: none;
}

.color {
    font-size: .26rem;
    font-weight: 700;
    background-image: -webkit-linear-gradient(270deg, rgb(253, 154, 75), rgb(243, 79, 79));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.small {
    font-size: .22rem;
    color: rgb(128, 128, 128);
}


/* 底部功能栏 */

.tapbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 .2rem;
    height: .9rem;
    box-shadow: 0 -5px 10px 0 #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.tapbar a {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.tapbar .iconfont {
    width: .44rem;
    height: .44rem;
    font-size: .44rem;
    color: #7f7f7f;
}

.tapbar span {
    font-size: .2rem;
    color: #333;
}